package com.verify.listener;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.verify.data.excel.ExcelTable5;
import com.verify.data.excel.ExcelTable6;

import java.util.List;

public class ExcelListenerTable6 implements ReadListener<ExcelTable6> {
    private List<ExcelTable6> table;

    public ExcelListenerTable6(List<ExcelTable6> table) {
        this.table = table;
    }

    @Override
    public void invoke(ExcelTable6 data, AnalysisContext context) {
        table.add(data);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext context) {

    }
}
